﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Legend.Threading
{
    /// <summary>
    /// Creates a timer that when started will raise an event at the
    /// given interval.
    /// </summary>
    /// <param name="interval">The interval to raise events at.</param>
    /// <returns>An <see cref="ITimer" /> object.</returns>
    public delegate ITimer TimerFactory(TimeSpan interval);
}
